<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
 <base href="<%=basePath%>">
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="css/bootstrap.css" type="text/css" media="all">
	<link rel="stylesheet" href="css/font-awesome.css" type="text/css" media="all">
	<link rel="stylesheet" href="css/owl.carousel.css" type="text/css" media="all" />
	<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
	<link href="http://fonts.googleapis.com/css?family=Molle:400i&amp;subset=latin-ext" rel="stylesheet">
	<link href="http://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i&amp;subset=latin-ext" rel="stylesheet">
	<link href="http://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&amp;subset=latin-ext"
	    rel="stylesheet">
</head>
<body>
<Br><Br><Br><Br><Br><Br><Br><Br>
		<div class="container">
			<h3 class="agile-title">网站动态</h3>
			<div class="col-md-5 col-xs-6 blog-grids" style="width:100%">
			   <c:forEach items="${notice}" var="n" varStatus="status"> 
				<div class="blog-full-wthree" style="width:100%">
					<div class="blog-left-agileits">
					<p> ${n.uptime.substring(0,10)}</p>
						<span>${n.uptime.substring(11,16)}</span>
						  
					</div>
					<div class="blog-right-agileits-w3layouts">
						<h4>
							<a  data-toggle="modal" data-target="#myModal2">${n.title}</a>
						</h4>
						<p>
							<a  data-toggle="modal" data-target="#myModal2">${n.contents}</a>
						</p>
					</div>
					<div class="clearfix"> </div>
				</div>
				</c:forEach>
			</div>
			<div class="clearfix"> </div>
		</div>
		<div class="blog-grids mid-blog-agile">
			<img src="images/cat2.png" class="img-responsive" alt="">
		</div>
	
</body>
</html>